Message
data class Message(val id: String, val realId: Int = 0, val read: ReadStatus, val status: DeliveryStatus, val text: String? = "", val type: MessageType, val date: Instant?, val attachments: List<Attachment>? = null)
The message entity.
Constructors
Link copied to clipboard
fun Message(id: String, realId: Int = 0, read: ReadStatus, status: DeliveryStatus, text: String? = "", type: MessageType, date: Instant?, attachments: List<Attachment>? = null)
Functions
Link copied to clipboard
Is it inbox message. True if message type is MessageType.IN or MessageType.RATING_IN